@import "common.less";
@import "../icons/iconfont.css";

@borde-color: #e9e9e9;
@primary-color: #16a1e0;

body,
html {
  position: relative;
  height: 100%;
  background-color: #fff;
  overflow-x: hidden;
}

.content {
  position: relative;
  z-index: 9999;
  width: 750 * @rem;
  margin: 0 auto;
}

.header {
  color: #fff;
  width: 750 * @rem;
  height: 90 * @rem;
  background-color: #16a1e0;
  margin: 0 auto;
  position: relative;
  .btnback {
    .fontSize(16px);
    position: absolute;
    top: 50%;
    left: 15 * @rem;
    transform: translateY(-50%);
    color: #fff;
  }
  h2 {
    text-align: center;
    color: #fff;
    .fontSize(16px);
    line-height: 90 * @rem;
  }
}

.record-title {
  overflow: hidden;
  position: relative;
  padding: 30 * @rem 35 * @rem 35 * @rem;
  .left {
    float: left;
    .detail__title {
      .fontSize(14px);
      color: #333;
      font-weight: 500;
      margin: 0;
      margin-bottom: 10 * @rem;
    }
    .detail__decs {
      .fontSize(12px);
      left: 15 * @rem;
      top: 0;
      color: #999;
      display: flex;
    }
  }

  .detail__action {
    position: absolute;
    top: 50%;
    right: 50 * @rem;
    color: #999;
    transform: translateY(-50%);
    button {
      .fontSize(12px);
      background-color: #fff;
      color: #666;
      border: none;
      border: 1px solid @borde-color;
      padding: 8 * @rem 30 * @rem;
      border-radius: 8 * @rem;
      .iconfont {
        margin-right: 5 * @rem;
        .fontSize(14px);
      }
    }
    button.zan {
      border: 1px solid @primary-color;
      background-color: @primary-color;
      color: #fff;
    }
  }
}

.record-content {
  padding: 0 35 * @rem;
  background-color: #fff;
  margin-bottom: 35 * @rem;
  .record-detail {
    border: 1px solid @borde-color;
    background-color: #fdfdfd;
    padding: 20 * @rem 25 * @rem;
    .record-item {
      margin-bottom: 5* @rem;
      .record-item-title {
        .fontSize(14px);
        color: #333;
        font-weight: normal;
      }
      .record-item-content {
        padding: 15* @rem 20* @rem;
        li {
          .fontSize(12px);
          color: #666;
          padding: 3* @rem 0;
        }
      }
    }
  }
}

.pictures {
  padding: 0 * @rem 35 * @rem;
  margin-bottom: 35 * @rem;
}

.comment-add {
  padding: 0 35 * @rem;
  height: 120 * @rem;
  margin-bottom: 35 * @rem;
  .comment {
    float: left;
    height: 100%;
    width: 100%;
    margin-right: -60 * @rem;
    padding-right: 60 * @rem;
    border: 1px solid @borde-color;
    border-radius: 8 * @rem;
    box-sizing: border-box;
  }
  textarea {
    float: left;
    .fontSize(12px);
    padding: 20 * @rem;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    color: #606266;
    background-color: #fff;
    border: none;
  }
  .comment-btn {
    float: right;
    width: 60 * @rem;
    height: 100%;
    box-sizing: border-box;
    color: #fff;
    text-align: center;
    line-height: 25 * @rem;
    padding-top: 25 * @rem;
    background-color: @primary-color;
  }
}

.comment-list {
  padding: 0 35 * @rem;
  margin-bottom: 35 *@rem;
  .comment-item {
    margin-top: 20 * @rem;
    border-left: 8 * @rem solid @primary-color;
    padding: 20 * @rem 20 * @rem;
    height: 100 * @rem;
    position: relative;
    border: 1px solid @borde-color;
    .avatar {
      width: 70 * @rem;
      height: 100%;
      line-height: 80 * @rem;
      .iconfont {
        .fontSize(25px);
        color: #666;;
      }
    }
    .left {
      height: 100%;
      .name {
        color: #333;
        .fontSize(12px);
        margin-right: 15 * @rem;
      }
      .time {
        .fontSize(10px);
        color: #7d7d7d;
      }
      p {
        color: #666666;
        .fontSize(12px);
        margin-top: 10 * @rem;
      }
      p:first-child {
        margin-bottom: 20 * @rem;
      }
    }
    .right {
      right: 30 * @rem;
      position: absolute;
      top: 35 * @rem;
      transform: translateY(-50%);
      .zan {
        .fontSize(10px);
        color: @primary-color;
      }
      .reply {
        .fontSize(10px);
        color: @primary-color;
      }

    }
  }
}